<template>
  <div>

    <sky-panel title="消息提示">
      <template #header>
        <span>消息提示</span>
      </template>
      <template #main>

        <el-button type="primary" @click="handelWarning">消息提示</el-button>

      </template>
    </sky-panel>

  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { Message } from '@/sky-element/'

export default defineComponent({
  setup() {
    const handelWarning = () => {
      Message.info('自定义消息提示')
    }
    return {
      handelWarning
    }
  }
})
</script>
